@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: pink;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.el-input__inner:focus {
  border: 2px solid pink !important;
}

.el-button--primary {
  border-color: pink !important;
  background: pink !important;
}

.el-radio__inner:hover {
  border-color: pink !important;
}

.el-radio__input.is-checked .el-radio__inner {
  border-color: pink !important;
  background: pink !important;
}

.el-form-item__label {
  font-weight: 600;
  color: rgba(0, 0, 0, .4);
  font-size: 16px;
}

.el-menu-item.is-active {
  background-color: rgb(254, 172, 172) !important;
  width: 80%;
  height: 45px;
  line-height: 45px;
  color: white !important;
  border-radius: 0 21px 21px 0 !important;
}

//菜品添加弹出框
.el-dialog {
  border-radius: 20px !important;
  height: 500px;
}

.el-dialog__header {
  width: 100%;
  height: 20%;
  background-color: rgba(0, 0, 0, .02);
  border-bottom: 1px solid rgba(0, 0, 0, .05);

  .el-dialog__title {
    line-height: 4.5rem;
    font-size: 30px !important;
    color: grey;
  }

  .el-dialog__headerbtn {
    padding-top: 20px;
    padding-right: 10px;
    font-size: 36px !important;
  }
}

.el-dialog__body {
  width: 100%;

  .el-form-item {
    border-radius: 20px;
  }

  .el-form-item__label {
    line-height: 6.5rem;
    height: 5.5rem;
    font-size: 24px !important;
  }

  .el-input__inner {
    margin-top: 30px;
    width: 80%;
    height: 3rem !important;
    line-height: 3rem !important;
  }
}

.el-dialog__footer {
  width: 100%;
  height: 25%;
  margin-left: -10px;
  padding: 1.625rem 0.25rem 1.25rem;

  .el-button--primary {
    font-size: 26px !important;
    padding-top: 0.5625rem;
    width: 150px;
    height: 60px;
    color: gray;
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: #fff;
  }

  .el-button--primary:hover {
    background-color: rgb(250, 219, 224);
    color: white;
    border: none;
  }

  .el-button--success {
    font-size: 26px !important;
    padding-top: 0.5625rem;
    width: 150px;
    height: 60px;
    color: gray;
    border: none;
    background-color: pink;
  }

  .el-button--success:hover {
    color: white;
    border: none;
  }

  .continue {
    padding-top: 20px;
  }
}

div.el-message-box {
  width: 39.25rem;
  padding-bottom: 2.625rem;
  border-radius: 2.25rem;
  font-size: 3.125rem;
}

.el-message-box .el-message-box__content {
  height: 4.5rem !important;
}

//菜品分类删除框
.el-message-box {
  width: 50.25rem;
  padding-bottom: 7.625rem;
  border-radius: 2.25rem;
  font-size: 9.125rem;

  p {
    margin-left: 20px;
    font-size: larger;
  }

  .el-message-box__status::before {
    font-size: 2.5rem !important;
    color: red;
    margin-left: 20px;
  }

  .el-message-box__header {
    margin-top: 30px;

    .el-message-box__title {
      font-size: 26px !important;
      text-align: center;
    }

    .el-message-box__headerbtn {
      font-size: 3rem !important;
      padding-right: 20px;
    }
  }

  .el-message-box__message {
    margin-left: 20px;

    .el-message-box__message p {
      line-height: 5.5rem !important;
    }
  }

  .el-message-box .el-message-box__header .el-message-box__title {
    font-size: 2.625rem !important;
  }

  .el-message-box__content {
    margin-top: 40px;
    width: 100%;
    height: 40px;


    .el-message-box__container {
      font-size: 26px !important;

      el-icon-warning {
        font-size: 26px;
      }
    }
  }

  .el-message-box__btns {
    height: 5.5rem;
    margin-right: 40px;

    .el-button--primary {
      width: 120px;
      height: 50px;
      background-color: pink;
      border: 1px solid rgba(0, 0, 0, .05);
      border-radius: 20px;
      color: gray;
    }

    .el-button--small {
      width: 120px;
      height: 50px;
      border-radius: 20px;
    }

    .el-button--small:hover {
      background-color: pink;
      color: white;
    }
  }
}

.app-container .flavor .title[data-v-d592254e] {
  font-size: 1.25rem !important;
}

.el-form-item__content {
  font-size: 1.05rem !important;
}

.el-textarea__inner {
  width: 40%;
  line-height: 2.5 !important;
}

.el-textarea__inner:focus {
  border-color: pink !important;
}

.el-select .el-input__inner:hover {
  border-color: pink !important;
}

.el-select .el-input.is-focus .el-input__inner {
  border-color: pink !important;
}

.el-form-item__content {
  line-height: 3.5rem;
}

.el-tag {
  background-color: pink !important;
  display: inline-block;
  height: 3rem;
  border: none;
  margin: 0 5px;
  line-height: 2.875rem;
  font-size: 1.1rem;
  color: #fff !important;
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid white;
  border-radius: 5px;
}

.el-tag .el-icon-close::before {
  color: white;
}

.el-tag .el-icon-close::before:hover {
  background-color: red !important;
}

// .el-button:hover,
// .el-button:focus {
//   color: white !important;
//   border-color: rgb(251, 209, 216) !important;
//   background-color: pink !important;
// }

.app-container .flavour .button-new-tag[data-v-d592254e] {
  margin-left: 0.625rem;
  height: 3rem;
  line-height: 2.875rem;
  padding-top: 0;
  padding-bottom: 0;
}

.el-form-item__label {
  font-size: 1.2rem;
}

.el-input__inner {
  height: 2.6rem !important;
  line-height: 3.5rem !important;
}